import Layout from '@/pages/public/layout' // 公共部分

const coursecard = [{
  path: '/market/coupon/offline/courseCard',
  component: Layout,
  children: [{
    path: 'index',
    component: () => import('@/pages/market/coupon_offline/course_card/index.vue'),
    meta: {
      title: '实体卡-课程卡-列表',
      permission: 'market.coupon.offline.coursecard'
    }
  }, {
    path: 'create',
    component: () => import('@/pages/market/coupon_offline/course_card/create.vue'),
    meta: {
      title: '实体卡-课程卡-新建',
      permission: 'market.coupon.offline.coursecard'
    }
  }, {
    path: ':id/edit',
    component: () => import('@/pages/market/coupon_offline/course_card/edit.vue'),
    meta: {
      title: '实体卡-课程卡-编辑',
      permission: 'market.coupon.offline.coursecard'
    }
  }, {
    path: ':id/details',
    component: () => import('@/pages/market/coupon_offline/course_card/details/index.vue'),
    meta: {
      title: '实体卡-课程卡-领取情况',
      permission: 'market.coupon.offline.coursecard'
    }
  }]
}]

export default coursecard
